/*
 *    Copyright (c) 2018-2025, cloud All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: cloud
 */

package com.fuyao.cloud.asset.warehouslist.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fuyao.cloud.asset.entity.AssetCard;
import com.fuyao.cloud.asset.entity.ac.AssetAc;
import com.fuyao.cloud.asset.entity.warehous.Warehous;
import com.fuyao.cloud.asset.entity.warehous.WarehousList;

import java.util.List;

/**
 * 入库清单
 *
 * @author liyue
 * @date 2021-12-06 20:19:48
 */
public interface WarehousListService extends IService<WarehousList> {

	/**
	 * 保存和修改入库单明细
	 *
	 * @param entity 入库单对象
	 */
	boolean saveOrUpdateWarehousList(Warehous entity, AssetAc assetAc, List<AssetCard> assetCardList);

	/**
	 * 保存入库/冲销清单
 	 * @param entity 入库/冲销对象
	 */
	void saveOrUpdateWarehousList(Warehous entity);
}
